home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-18 | 309 b | 15 lines | [TEXT/ttxt] |
- //-------------------------------------------------------------------//
-
- // Syntax: tanh ( X )
-
- // Description:
-
- // Tanh is the hyperbolic tangent of the element(s) of X.
-
- //-------------------------------------------------------------------//
-
- tanh = function ( x )
- {
- return (sinh (x) ./ cosh (x));
- };
-